package com.tangyuan.video;

import com.tangyuan.common.exception.ExceptionHandlerInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@MapperScan("com.tangyuan.video.mapper")
@Import(ExceptionHandlerInterceptor.class)
@EnableFeignClients(basePackages = "com.tangyuan.feignapis")
public class VideoServiceSpringBootStarter {
    public static void main(String[] args) {
        SpringApplication.run(VideoServiceSpringBootStarter.class,args);
        System.out.println("--------------------------------视频模块启动成功--------------------------------");
    }
}
